package com.haois.ws.common.constant;


/**
 * CommonConstants
 */
public class CommonConstants {
    public static final String GROUP_01 = "";
    public static final String GROUP_HIDE = "0";   //全部卡类型
    public static final String GROUP_SHARE = "1";   //储值卡类型
    public static final String GROUP_OVERT = "2";   //记账卡类型

    public static final String STATUS_SUCCESS = "00";   //成功
    public static final String STATUS_FAILURE = "1";    //失败
    public static final String STATUS_TIMEOUT = "-1";   //超时

    public static final String OPENID_KEY = "openid";   //session中openid的键

    public static final String OID = "{oid}";
    public static final String ID = "{id}";

    public static final String USER_LOGIN_URL = "/log/login";  //用户登录
    public static final String USER_GROUP_URL = "/member/{oid}/org";  //用户信息查询
    public static final String USER_INFO_URL = "/member";  //用户信息查询
    public static final String USER_PHOTO = "/member/picture";//调用接口子系统更改头像

    public static final String USER_INFO_MSG_URL = "/member/haveMsg";  //用户信息查询
    public static final String USER_GROUP_LIST = "/organize/mem-org";//用户的组织信息
    public static final String USER_GROUP_LIST_ALL = "/organize/mem-012org";//用户的组织信息
    public static final String USER_REGISTER_URL = "/member/register";  //用户注册
    public static final String GROUP_DEPTREE_URL = "/organize/{oid}/dep-tree";  //组织信息
    public static final String GROUP_URL = "/organize/{oid}";  //组织信息
    public static final String INFO_QUICK_NAME_URL = "/member/byName";  //根据名称快速查询信息
    public static final String INFO_QUICK_NUM_URL = "/member/byNum";//根据编号快速查找信息
    public static final String GROUP_JOIN = "/organize/{oid}/join";//关注组织
    public static final String GROUP_FOLLOW_LIST = "/follow/mem-org";
    public static final String GROUP_FOLLOW_ALL = "/follow/org";
    public static final String GROUP_UN_FOLLOW = "/follow/{oid}/exit";
    public static final String GROUP_EXIT = "/organize/{oid}/exit";
    public static final String GROUP_RELATION = "/organize/{oid}/relation";
    public static final String GROUP_MEM = "/organize/{oid}/mem";
    public static final String GROUP_MEM_AUTHORIZE = "/member/{oid}/authorize";
    public static final String GROUP_ORG_AUTHORIZE = "/organize/{oid}/authorize";

    public static final String GROUP_I = "/organize/i";
    public static final String NOTICE_MEM = "/notice/mem";
    public static final String NOTICE_ORG = "/notice/org/{oid}";
    public static final String NOTICE_SEE = "/notice/{id}/see";
    public static final String WX_TMSG_SEE = "/wxmp/info/tempMsg";
    public static final String TMSG_SEE = "/tempMsg/{id}";
    public static final String SYS_HISLIDER = "/sys/hiSlider";
    public static final String SYS_PARAMETER_TYPE = "/sys/parameter/{type}";

    public static final String APPLY_ORG_JOIN = "/apply/org/{oid}";


    public static final String USER_SET_AVATAR_POSTFIX = "/admin/user_setAvatar.do";//调用接口子系统更改头像
    public static final String USER_FORGETPWD_URL = "/account/reset/password"; // 重置密码
    public static final String USER_MODIFYPWD_URL = "/account/user/password"; // 修改密码

    public static final String USER_CHECKPHONE_URL = "/account/user/phone/";   //检查用户名是否存在
    public static final String USER_SENDCODE = "/api/sys/ali/sendCode"; //发送用户注册验证码
    public static final String USER_RESETPWD_VERIFYCODE_URL = "/account/reset/verifyCode"; //重置密码发送验证码
    public static final String USER_RESETPWD_URL = "/account/reset/password"; //重置密码
    public static final String USER_SETUSERPHOTO_URL = "/account/userPhoto"; // 设置用户头像
    public static final String USER_GETCODE = "/api/sys/ali/getCode";


}
